<?php
/**
 * Created by PhpStorm.
 * User: User
 * Date: 2017/7/31
 * Time: 14:05
 */
return array(

    'pageSize' => 20,


    //用户名密码
    'users' => array(
        'long' => array(
            'admin999' => array(
                'account' => 'admin999',
                'password' => '888888',
                'is_super' => true
            ),
            'admin777' => array(
                'account' => 'admin777',
                'password' => '888888',
                'is_super' => false
            )
        )
    ),
    //不需要登录就能访问的路由
    'not_need_login' => array(
        '/login/index'
    ),
    //菜单
    'menus' => array(
        'long' => array(
            '游戏用户' => array(
                'is_super_only' => 0,
                'child_menus' => array(
                    '用户管理' => array('is_super_only' => 1 , 'url' => '/accounts/index',),
                    '金币管理' => array('is_super_only' => 0 , 'url' => '',),
                )
            ),
            '充值管理' => array(
                'is_super_only' => 0,
                'child_menus' => array(
                    '订单管理' => array('is_super_only' => 1 , 'url' => '',),
                    '订单排行' => array('is_super_only' => 0 , 'url' => '',),
                )
            ),
            '运营管理' => array(
                'is_super_only' => 0,
                'child_menus' => array(
                    '聊天查询' => array('is_super_only' => 0 , 'url' => '/operate/index',),
                    '比赛场获奖查询' => array('is_super_only' => 0 , 'url' => '/operate/matchRecord',),
                    '每日排行获奖查询' => array('is_super_only' => 0 , 'url' => '/operate/dailyRankRecord',),
                )
            ),
        )
    )
);